package com.store.bauhinia.order.service;

import com.bookstore.bauhinia.pojo.Order;

import java.util.List;

public interface OrderService {
    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Order record);

    int insert(Order record);

    int deleteByPrimaryKey(Integer id);

    List<Order> getAllOrders();

    List<Order> getOrdersByUserId(Integer userId);
}
